package com.kgcx.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class AliServerConfig {

    @Value("${kgcx.ali.oss.endpoint:oss-cn-shenzhen-internal.aliyuncs.com}")
    private String ossEndpoint;
    @Value("${kgcx.ali.accessKeyId:LTAIYQnnp98ycY2a}")
    private String accessKeyId;
    @Value("${kgcx.ali.oss.accessKeySecret:umrCtcxQTKmhD8jyNRNp15S8Tp1DHs}")
    private String accessKeySecret;
    @Value("${kgcx.ali.oss.imageBucket:kgcx-image}")
    private String ossImageBucket;
    @Value("${kgcx.ali.oss.fileBucket:kgcx-file}")
    private String ossFileBucket;
}
